home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 October / Chip Ekim 2003.iso / prog / share / tod / setup.exe / makefile < prev    next >
Encoding:
Makefile  |  2002-03-11  |  488 b   |  19 lines

  1. OBJ = hiscore rec scrctl tetanus crc allegdlg hgrcos
  2. HEADS = tod.h allegdlg.h crc.h hgrcos.h hiscore.h
  3. LIBS = -lalleg
  4. CFLAGS = -Wall -march=i486 -mcpu=i686 -O3 -ffast-math
  5. LDFLAGS = -mwindows
  6. CC = gcc
  7.  
  8.  
  9. OBJS = $(addsuffix .o,$(OBJ))
  10.  
  11. #Some of these rules are redundant on a GNU system, but they are
  12. #necessary on some Allegro platforms to force use of GCC.
  13.  
  14. rec.exe: $(OBJS)
  15.     gcc $(LDFLAGS) -o tod-debug.exe $(OBJS) $(LIBS)
  16.  
  17. %.o: %.c $(HEADS)
  18.     gcc $(CFLAGS) -o $@ -c $<
  19.